// api/locations.js
import request from '@/utils/request'

import apiClient from './index';

export const locationApi = {
  // 获取地点列表
  getLocations: (params) => apiClient.get('/locations/filter', { params }),
  
  // 获取单个地点详情
  getLocationDetail: (id) => apiClient.get(`/locations/${id}`)
};
